var t = require("../../../utils/util.js"), e = getApp(), o = e.globalData.url;

Page({
    data: {
        domain: o,
        traitList: [ "洗车不错", "店铺服务很好", "距离近，不错" ]
    },
    onLoad: function(t) {
        this.getShopInfo(t.id);
    },
    onShareAppMessage: function(t) {},
    getShopInfo: function(o) {
        var a = this;
        t.request(e, "wx/biz/getBizShopDetail", "POST", {
            shopId: o,
            token: e.globalData.token
        }, function(t) {
            var e = t.data;
            a.setData({
                shopUrl: e.url,
                shopName: e.shopName,
                startTime: e.startTime,
                endTime: e.endTime,
                shopAddr: e.shopAddr,
                shopPhone: e.shopPhone1,
                shopType: e.shopType,
                shopContent: e.shopDesc,
                addTime: e.addTime
            });
        }, function(t) {});
    }
});